package com.gla.service;

import com.gla.dao.IndexMapper;
import com.gla.entity.Index;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class IndexService {
    @Resource
    IndexMapper indexMapper;

    public List<Index> selectPriceAndId(){return indexMapper.selectPriceAndId();}

    public List<Index> selectNumberAndId(){return indexMapper.selectNumberAndId();}

    public List<Index> selecTimeAndId(){return indexMapper.selectTimeAndId();}

    public List<Integer> selectOrder_id(){return indexMapper.selectOrder_id();}

    public List<Index> selectToday(){return indexMapper.selectToday();}

}
